package com.dming.testrequest;


import com.jamlu.framework.model.bean.BaseBean;

/**
 * 登录成功获取的用户信息
 * Created by Kang on 2017/11/8.
 */

public class LoginInfoBean extends BaseBean {

    /**
     * data : {"token":"6fe1b4323e3105a732c6a92524386aef0","my_name":"患者测试","my_tel":"15876138333","my_photo":"user/20170915/1505464321161_1.jpg","my_role":"patient"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * token : 6fe1b4323e3105a732c6a92524386aef0
         * my_name : 患者测试
         * my_tel : 15876138333
         * my_photo : user/20170915/1505464321161_1.jpg
         * my_role : patient
         * my_id : 12
         */

        private String token;
        private String my_name; // 用户名称
        private String my_tel; // 用户手机号
        private String my_photo; // 用户头像
        private String my_role; // 用户类型，患者or业务员or医生
        private String my_id; // 用户ID
        private String my_company_id; //医生才会有的字段

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getMy_name() {
            return my_name;
        }

        public void setMy_name(String my_name) {
            this.my_name = my_name;
        }

        public String getMy_tel() {
            return my_tel;
        }

        public void setMy_tel(String my_tel) {
            this.my_tel = my_tel;
        }

        public String getMy_photo() {
            return my_photo;
        }

        public void setMy_photo(String my_photo) {
            this.my_photo = my_photo;
        }

        public String getMy_role() {
            return my_role;
        }

        public String getMy_id() {
            return my_id;
        }

        public void setMy_role(String my_role) {
            this.my_role = my_role;
        }

        public String getMy_company_id() {
            return my_company_id;
        }
    }
}
